/**
* @author:kellen
* @contact:xiekellen@hotmail.com
* @company:achivo-gz
* @created on:
* @modified on:
*/

package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.FlightAdjustInstruction;

public interface FlightAdjustInstructionDao extends Dao {

    /**
     * Retrieves all of the flightAdjustInstructions
     */
    public List getFlightAdjustInstructions(FlightAdjustInstruction flightAdjustInstruction);

    /**
     * Gets flightAdjustInstruction's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the flightAdjustInstruction's id
     * @return flightAdjustInstruction populated flightAdjustInstruction object
     */
    public FlightAdjustInstruction getFlightAdjustInstruction(final Integer id);

    /**
     * Saves a flightAdjustInstruction's information
     * @param flightAdjustInstruction the object to be saved
     */    
    public int saveFlightAdjustInstruction(FlightAdjustInstruction flightAdjustInstruction);

    /**
     * Removes a flightAdjustInstruction from the database by id
     * @param id the flightAdjustInstruction's id
     */
    public void removeFlightAdjustInstruction(FlightAdjustInstruction flightAdjustInstruction);
}

